package com.handinfo.android.core.input;

import android.graphics.PointF;
import android.view.MotionEvent;

public interface DWIInputHandler
{
	public boolean doDown(PointF point);//按下

	public boolean doClick(PointF point);//点击

	public boolean doDoubleClick(PointF point);//双击

	public boolean doLongPress(PointF point);//长按

	public boolean doScroll(PointF start, PointF end, float distanceX, float distanceY);//点击移动

	public boolean doLongScroll(PointF start, PointF end, float distanceX, float distanceY);//长按移动

	public boolean doFling(PointF start, PointF end, float velocityX, float velocityY);//点击移动抬起

	public boolean doDrag(PointF start, PointF end, float velocityX, float velocityY);//长按移动抬起

	public boolean onTouch(MotionEvent event, PointF point);
}
